﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using MyDBconnection;

namespace CamposInventory
{
    public partial class frmInventoryupdate : Form
    {
        DatabaseConnection dbconn = new DatabaseConnection();
        FrmMain parent;

        public frmInventoryupdate(FrmMain p)
        {
            InitializeComponent();
            btnaddproduct.Click += new EventHandler(btnaddproduct_Click);
            parent = p;
        }

        void btnaddproduct_Click(object sender, EventArgs e)
        {
            dbconn.dbconnection();
            dbconn.Updateproduct("Insert into tbluser where Productcode =");
            
        }

        
    }
}
